home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 12
/
Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso
/
Aminet
/
gfx
/
misc
/
easyprint.lha
/
EasyPrint
/
Install
< prev
next >
Wrap
Text File
|
1996-04-29
|
3KB
|
107 lines
;
; Script di installazione per EasyPrint 2.0 (9 apr 1996)
;
; Stringhe
(set @default-dest "")
(set @default-message "")
(set lib-def-dest "LIBS:")
(set font-dest "FONTS:")
(set eprint-dest "SYS:")
; E' un Amiga 3.0?
(if (< (/ (getversion) 65536) 39) (abort "Devi avere il Kickstart 3.0 (o superiore) per usare\nEasyPrint."))
(message
(cat "\n\n\nEasyPrint, script di installazione.\n"
"Questa procedura installa EasyPrint sul vostro Amiga.\n\n"
"(C) Copyright 1995-1996 Andrea Latina."
))
; Ask where to copy the library.
(set lib-dest
(askdir
(prompt "Dove desideri vengano copiate le librerie?")
(help " Se usi una directory per le librerie create da terzi, adesso puoi specificarla.")
(default lib-def-dest)
)
)
; Copy the library.
(copylib
(prompt (cat "Copio la reqtools.library in " (tackon lib-dest "reqtools.library")))
(help @copylib-help)
(source "libs/reqtools.library")
(dest lib-dest)
(confirm)
)
(copylib
(prompt (cat "Copio la iff.library in " (tackon lib-dest "iff.library")))
(help @copylib-help)
(source "libs/iff.library")
(dest lib-dest)
(confirm)
)
(set font-dest
(askdir
(prompt "Dove desideri venga copiato il font courier?")
(help " Se per i fonts usi una directory diversa da quella di Sistema, puoi specificarla adesso.")
(default font-dest)
)
)
(if (NOT (exists (tackon font-dest "courier.font")))
(copyfiles
(prompt "Copio il font 'courier' in " font-dest)
(source "fonts/")
(dest font-dest)
(all)
)
)
(set eprint-dest
(askdir
(prompt "Dove desideri installare EasyPrint (verrà creato un nuovo cassetto chiamato 'EasyPrint')?")
(help " Seleziona il cassetto in cui installare EastPrint.")
(default eprint-dest)
)
)
(if (NOT (exists (tackon eprint-dest "EasyPrint")))
(makedir (tackon eprint-dest "EasyPrint")))
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint/")
(dest (tackon eprint-dest "EasyPrint"))
(all)
)
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint.guide")
(dest (tackon eprint-dest "EasyPrint"))
)
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint_ITA.guide")
(dest (tackon eprint-dest "EasyPrint"))
)
(if (exists ("env:sys/def_drawer.info"))
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "env:sys/def_drawer.info")
(dest eprint-dest)
(newname "EasyPrint.info")
)
)